package com.yc.jpyy.drivertrain.service;

import java.sql.Date;
import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;
import org.springframework.transaction.annotation.Transactional;

import com.yc.jpyy.base.bean.RestResponse;
import com.yc.jpyy.base.util.PageBean;

public interface DriverTrainService {
	

	int addDriverTrainServer(Map<String, Object> paramsMap) throws DataAccessException;

	int updateDriverTrainServer(Map<String, Object> paramsMap) throws DataAccessException;

	int delDriverTrainServer(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findDriverTrainByIDServer(Map<String, Object> paramsMap) throws DataAccessException;
	
	//分页查询
    PageBean findDriverTrainServer(Map<String, Object> paramsMap)throws DataAccessException;
    //查询总数
    int findDriverTrainServerCount(Map<String, Object> paramsMap)throws DataAccessException;
    
    int delforUpdateDriverTrainServer(Map<String, Object> paramsMap) throws DataAccessException;
   
   
    int addTrainToDriver(Map<String, Object> paramsMap) throws DataAccessException;
}